package com.myway.dto.ibe_param;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yufei on 2018/7/22.
 */
public class SegmentParam  implements Serializable{

    private List<Origin> origin;

    private List<Destination> destination;

    private DepatureDateParam departureDate;

    private String[] connectionLocations;

    private FlexInterval flexInterval;

    public SegmentParam() {
    }

    public FlexInterval getFlexInterval() {
        return flexInterval;
    }

    public void setFlexInterval(FlexInterval flexInterval) {
        this.flexInterval = flexInterval;
    }

    public List<Origin> getOrigin() {
        return origin;
    }

    public void setOrigin(List<Origin> origin) {
        this.origin = origin;
    }

    public List<Destination> getDestination() {
        return destination;
    }

    public void setDestination(List<Destination> destination) {
        this.destination = destination;
    }

    public DepatureDateParam getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(DepatureDateParam departureDate) {
        this.departureDate = departureDate;
    }

    public String[] getConnectionLocations() {
        return connectionLocations;
    }

    public void setConnectionLocations(String[] connectionLocations) {
        this.connectionLocations = connectionLocations;
    }
}
